<template>
  <div>
    <div>我是B组件</div>
    <div>接收的值是：{{ flag }}</div>
  </div>
</template>

<script lang="ts" setup>
import { ref } from "vue";
type Props = {
  flag?: boolean;
};
defineProps<Props>();
</script>

<style>
</style>